package com.cn.springcloudwechat.model;

import java.util.Date;

public class YmPraise {
    /**
     * 点赞流水Id
     */
    private Long praiseId;

    /**
     * 点赞类型(1文章2评论3交流圈)
     */
    private String praiseType;

    /**
     * 点赞类型id(1文章id.2(对医生的提问)评论id).3.交流圈发帖id.
     */
    private Long praiseTypeId;

    /**
     *点赞的用户id
     */
    private Long userId;

    /**
     * 点赞状态(0取消1已赞)
     */
    private Short state;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     *修改时间
     */
    private Date updateTime;


    public Long getPraiseId() {
        return praiseId;
    }

    public void setPraiseId(Long praiseId) {
        this.praiseId = praiseId;
    }

    public String getPraiseType() {
        return praiseType;
    }

    public void setPraiseType(String praiseType) {
        this.praiseType = praiseType == null ? null : praiseType.trim();
    }

    public Long getPraiseTypeId() {
        return praiseTypeId;
    }

    public void setPraiseTypeId(Long praiseTypeId) {
        this.praiseTypeId = praiseTypeId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}